This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
Haven't tested this but... have you tried passing the entire Array to the agent?
Like so, perhaps.... (removed the loop and changed the parameter passed to the agent). Again, I haven't tried, but it seems logical.
<![CDATA[#{javascript: var docServer = @Name("[CN]", Subset(@DbName(), 1)); var viewPanel=getComponent("viewPanel1"); var docIDArray=viewPanel.getSelectedIds(); var db=session.getDatabase(docServer, "Employer.nsf");}
var agent=db.getAgent("(ExportToExcel)"); agent.run(docIdArray); }]]>
Feedback response number WEBB85H8DD created by ~Pippy Minfreeterynds on 05/16/2010